
#ifndef wu_MARMANAGER_H
#define wu_MARMANAGER_H

#pragma once
#include "wuMar.h"
#include "wuBase2dManager.h"

class wuMarManager : public wuBase2dManager
{
    public:
        wuMarManager();
        ~wuMarManager();

        void setup(ofxBox2d * _box2d, int _vw, int _vh);
		virtual void addBitxo(ofImage *_skin, ofRectangle rect, vector <ofPoint> * _pts);
		void setSimpleAmount(float _simpleAmount);
        void draw(bool pinta_bg=false, int offX=0);
		void clear();
        int getNivell(ofPoint pos);
		// box2d
        wuMar mar;

};
#endif

